package com.smwsk.activitiproject.service;

import org.activiti.engine.delegate.DelegateExecution;
import org.activiti.engine.delegate.JavaDelegate;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

@Component
public class ProcessService implements JavaDelegate {

    Logger logger = LoggerFactory.getLogger(this.getClass());

    /**
     * 自动通过审核
     * @param delegateExecution
     */
    @Override
    public void execute(DelegateExecution delegateExecution) {
        logger.info("自动通过审核");
    }
}
